 /* Author : Maisa Nurul Agnia 091511055 & Putri Andita R 091511059
 * Proyek 4*/

package jtk.project4.fleet.event;

import java.util.List;

import nl.coderight.jazz.Event;
import jtk.project4.fleet.domain.SchData;
import jtk.project4.fleet.domain.Schedules;
import jtk.project4.fleet.event.NewEditScheduleEvent.NewEditScheduleEventType;
import jtk.project4.fleet.event.PMScheduleSetupEvent.PMScheduleSetupEventType;


public class NewEditScheduleEvent extends Event<NewEditScheduleEventType>{

	private List<Schedules> schedules;
	private List<SchData> schData;

	public enum NewEditScheduleEventType
	{
		LOAD_SUCCESS,
		FILTER, ADD, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE, NEW, SAVE, VIEW;
	}
	public NewEditScheduleEvent(NewEditScheduleEventType type) {
		super(type);
		// TODO Auto-generated constructor stub
	}

	
	public void setSchedules(List<Schedules> schedules) {
		this.schedules = schedules;
	}

	public List<Schedules> getSchedules() {
		return schedules;
	}

	public void setSchData(List<SchData> schData) {
		this.schData = schData;
	}

	public List<SchData> getSchData() {
		return schData;
	}

}

